package com.hongmeng.operater.domain.moduleResource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;

/**
 * 模块资源对象 hm_module_resource
 * 
 * @author hongmeng
 * @date 2021-01-04
 */
@ApiModel
public class HmModuleResource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 模块类型 */
    @ApiModelProperty("模块类型")
    @Excel(name = "模块类型")
    private String moduleType;

    /** 图片id */
    @ApiModelProperty("图片id")
    @Excel(name = "图片id")
    private Integer imageId;

    /** 标题 */
    @ApiModelProperty("标题")
    @Excel(name = "标题")
    private String title;

    /** 内容(文字) */
    @ApiModelProperty("内容(文字)")
    @Excel(name = "内容(文字)")
    private String content;

    /** 跳转地址 */
    @ApiModelProperty("跳转地址")
    @Excel(name = "跳转地址")
    private String jumpUrl;

    /** 跳转类型 */
    @ApiModelProperty("跳转类型")
    @Excel(name = "跳转类型")
    private String jumpType;

    /** 排序 */
    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setModuleType(String moduleType) 
    {
        this.moduleType = moduleType;
    }

    public String getModuleType() 
    {
        return moduleType;
    }
    public void setImageId(Integer imageId) 
    {
        this.imageId = imageId;
    }

    public Integer getImageId() 
    {
        return imageId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setJumpUrl(String jumpUrl) 
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl() 
    {
        return jumpUrl;
    }
    public void setJumpType(String jumpType) 
    {
        this.jumpType = jumpType;
    }

    public String getJumpType() 
    {
        return jumpType;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moduleType", getModuleType())
            .append("imageId", getImageId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("jumpUrl", getJumpUrl())
            .append("jumpType", getJumpType())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
